package com.unidt.www.module.expert.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author sk
 * @Description:
 * @Date 2022/12/15 16:11
 **/
@Data
public class InvitationRuleForm   {


    @ApiModelProperty(value = "规则名称")
    private String name;

    @ApiModelProperty(value = "规则类型")
    private Integer type;

    /**
     * 约邀人数
     */
    @ApiModelProperty("邀约人数")
    @NotNull(message = "邀约人数不能为空")
    @Min(value = 1,message = "邀约人数最小为1")
    private Integer inviteesNumbers;

    @ApiModelProperty("区域ID集合")
    private String organIds;

    @ApiModelProperty("标签")
    private String tags;

    @ApiModelProperty("擅长领域")
    String areaExpertises;

}
